package com.twu.biblioteca;

import java.io.ByteArrayOutputStream;
import java.io.IOException;

public class IOForBiblioteca {
    private static final String WELCOME_MESSAGE = "Welcome to Biblioteca!";

    public ByteArrayOutputStream welcomeMessage() throws IOException {
        ByteArrayOutputStream output = new ByteArrayOutputStream();
        output.write(WELCOME_MESSAGE.getBytes());
        return output;
    }
}
